<template>
	<header>
		<a v-link="{path:'/'}" class="blog-logo">
			<img src="/resources/webSite/images/userImg.jpg">
		</a>
		<h1 class="my-name">{{headerData.name}}</h1>
		<p>{{headerData.profiles}}</p>
	</header>
</template>
<script>
	export default{
		data(){
			return {
				headerData:"",
				msg:"hello-zl"
			}
		},
		ready(){
			var data = "",
				th = this;
			//设置信息
			this.$http.get("/webSettings" , function(res){
				th.headerData = res.data;
			},"JSON");
		}
	};
</script>
